<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" xmlns:h="http://java.sun.com/jsf/html" xmlns:f="http://java.sun.com/jsf/core" xmlns:ui="http://java.sun.com/jsf/facelets">
	<ui:composition template="/template/wizardTemplate.xhtml">
		<ui:param name="title" value="Summary"/>
		<ui:define name="head">Father view</ui:define>
		<ui:define name="stepBody">
			<h:outputLabel value="First name:"/>
			<h:outputText value="#{wizard.user.firstName}"/>
			<h:outputLabel value="Middle name:"/>
			<h:outputText value="#{wizard.user.middleName}"/>
			<h:outputLabel value="Last name:"/>
			<h:outputText value="#{wizard.user.lastName}"/>
			<h:outputLabel value="Birth date:"/>
			<h:outputText value="#{wizard.user.birthDate}">
				<f:convertDateTime pattern="dd-MM-yyyy"/>
			</h:outputText>
			<h:outputLabel value="Street:"/>
			<h:outputText value="#{wizard.user.address.street}"/>
			<h:outputLabel value="Number:"/>
			<h:outputText value="#{wizard.user.address.number}"/>
			<h:outputLabel value="Postal code:"/>
			<h:outputText value="#{wizard.user.address.postalCode}"/>
			<h:outputLabel value="City:"/>
			<h:outputText value="#{wizard.user.address.city}"/>
			<h:outputLabel value="Country:"/>
			<h:outputText value="#{wizard.user.address.country}"/>
			<h:outputLabel value="Phone:"/>
			<h:outputText value="#{wizard.user.phone}"/>
			<h:outputLabel value="Mobile:"/>
			<h:outputText value="#{wizard.user.mobile}"/>
			<h:outputLabel value="Email:"/>
			<h:outputText value="#{wizard.user.email}"/>
		</ui:define>
	</ui:composition>
</html>